ci: Drop all `runAsUser: 0` in builds
authorColin Walters <walters@verbum.org>
Mon, 16 May 2022 16:37:15 +0000 (12:37 -0400)
committerColin Walters <walters@verbum.org>
Mon, 16 May 2022 16:37:15 +0000 (12:37 -0400)
This triggers the new git warning; I think this is only
here because long ago we used coreos-assembler as a buildroot,
but that's long since fixed.

.cci.jenkinsfile

index 213d23c9d06ecabe93475492d2f6109ae5e1fdaa..2a64109a1ea0de682506954c2ee0307b2fdda84a 100644 (file)
@@ -3,7 +3,7 @@
 stage("Build") {
 parallel normal: {
   def n = 5
-  buildPod(runAsUser:0, memory: "2Gi", cpu: "${n}") {
+  buildPod(memory: "2Gi", cpu: "${n}") {
       checkout scm
       stage("Core build") {
         shwrap("""
@@ -39,7 +39,7 @@ parallel normal: {
 },
 // A minimal build, helps test our build options
 minimal: {
-  buildPod(runAsUser:0) {
+  buildPod() {
       checkout scm
       shwrap("""
         git submodule update --init
@@ -54,7 +54,7 @@ minimal: {
   }
 },
 codestyle: {
-  buildPod(runAsUser:0) {
+  buildPod() {
       checkout scm
       shwrap("""
         # Jenkins by default only fetches the branch it's testing. Explicitly fetch main